<template>
	<view class="space">
		<web-view :webview-styles="webviewStyles" :src="link"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				webviewStyles: {
					progress: {
						color: '#4e54c8',
					}
				},
				link: 'https://linkverse.art/'
			};
		},
		onLoad() {
			try {
				const space_info = uni.getStorageSync('shop_u_space')
				this.link += space_info.address
			} catch (e) {
				//TODO handle the exception
			}
		},
		onShow() {
			uni.showTabBar()
		}
	}
</script>

<style lang="scss" scoped>

</style>
